package edu.langnan.xiaoli.core.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author cql
 */
@Data
public class MomentDTO {

    private Integer id;

    private Integer stuId;

    private String content;

    private Date createTime;

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private List<Integer> imgIds;

    private List<String> imgUrls;

    private List<CommentDTO> comments;
}
